package com.ruoyi.wlxz.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * 类目对象 category
 * 
 * @author zlh
 * @date 2025-03-21
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 主键id */
    private Long id;
    /** 类目Id */
    @Excel(name = "类目Id")
    private String categoryId;
    /** 类目名称 */
    @Excel(name = "类目名称")
    private String categoryName;
    public void setId(Long id) 
    {
        this.id = id;
    }
    public Long getId() 
    {
        return id;
    }
    public void setCategoryId(String categoryId) 
    {
        this.categoryId = categoryId;
    }
    public String getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }
    public String getCategoryName() 
    {
        return categoryName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .toString();
    }
}
